<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>样式渲染</title>
    <script src="../react/react.development.js"></script>
    <script src="../react/react-dom.development.js"></script>
    <script src="../react/babel.min.js"></script>
</head>
<body>
<div id="root">
</div>
<script type="text/babel">
    const mystyle = {
        fontSize: 40,
        color: 'blue'
    }
    ReactDOM.render(<h1 style={mystyle}>你好</h1>, document.getElementById('root'))
</script>
</body>
</html>
